Compile with MPI
authorAnton Gladky <gladk@debian.org>
Fri, 17 Sep 2021 20:02:38 +0000 (22:02 +0200)
committerAnton Gladky <gladk@debian.org>
Fri, 17 Sep 2021 20:12:14 +0000 (22:12 +0200)
debian/patches/98_fix_mpi4py.py [new file with mode: 0644]
debian/patches/series
debian/python3-vtk9.install
debian/rules

diff --git a/debian/patches/98_fix_mpi4py.py b/debian/patches/98_fix_mpi4py.py
new file mode 100644 (file)
index 0000000..fefb421
--- /dev/null
@@ -0,0 +1,11 @@
+Description: Fix mpi4py search
+Author: Anton Gladky <gladk@debian.org>
+Last-Update: 2021-09-17
+
+--- vtk9-9.0.3+dfsg1.orig/Parallel/MPI4Py/vtk.module
++++ vtk9-9.0.3+dfsg1/Parallel/MPI4Py/vtk.module
+@@ -12,4 +12,3 @@ DEPENDS
+ PRIVATE_DEPENDS
+   VTK::ParallelMPI
+   VTK::mpi
+-  VTK::mpi4py
index 9479c5a48369ecff34c7e2aa86f00665e62f0060..1d3773ebe01540af48b7c05387c9364c2402080f 100644 (file)
@@ -9,6 +9,6 @@
 81_allow_gles_platforms.patch
 82_allow_gles_platforms.patch
 83_allow_gles_platforms.patch
-90_fix_freetype_compilation.patch
 95_java_mach-arch_fix.patch
 97_reproducible_builds.patch
+98_fix_mpi4py.py
index 6f726f37386f2a0ec540b570058a01210e76bdef..5e635d887e62e699146977615ea587831fa9d4a0 100644 (file)
@@ -1,4 +1,5 @@
 usr/lib/python3
+usr/bin/pvtkpython
 usr/bin/vtkpython-9.0
 usr/bin/vtkWrapPython-9.0
 usr/bin/vtkWrapPythonInit-9.0
index bd19bb4eecfafa0fefb34b9bb369598b8cf2d9a3..e28c06c6a0cbe4380394042521b5bfeaa8ba2ea6 100755 (executable)
@@ -33,7 +33,10 @@ extra_flags +=  \
        -DVTK_GROUP_ENABLE_Qt:STRING="YES" \
        -DVTK_MODULE_ENABLE_VTK_GUISupportQtSQL:STRING="NO" \
        -DVTK_GROUP_ENABLE_Rendering:STRING="YES" \
+       -DVTK_GROUP_ENABLE_StandAlone:STRING="YES" \
        -DVTK_GROUP_ENABLE_Views:STRING="YES" \
+       -DVTK_GROUP_ENABLE_MPI:STRING="YES" \
+       -DVTK_GROUP_ENABLE_Imaging:STRING="YES" \
        -DVTK_MODULE_ENABLE_VTK_RenderingQt:STRING="YES" \
        -DVTK_MODULE_ENABLE_VTK_RenderingTk:STRING="YES" \
        -DVTK_MODULE_ENABLE_VTK_utf8:STRING="YES" \
@@ -65,7 +68,10 @@ extra_flags +=  \
        -DVTK_USE_TK=ON \
        -DVTK_WRAP_PYTHON=ON \
        -DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=YES \
-       -DCMAKE_BUILD_TYPE=RelWithDebInfo
+       -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+       -DVTK_MODULE_ENABLE_VTK_ParallelMPI:STRING="YES" \
+       -DVTK_USE_MPI=ON \
+
 
 override_dh_auto_configure:
        dh_auto_configure -- $(extra_flags)